home *** CD-ROM | disk | FTP | other *** search
/ Directorty Opus 5 - Magellan 2 / Opus 5 - Magellan 2.iso / Extras / opussdk / include / dopus / progress.h < prev    next >
C/C++ Source or Header  |  1996-09-01  |  2KB  |  50 lines

  1. #ifndef _DOPUS_PROGRESS
  2. #define _DOPUS_PROGRESS
  3.  
  4. /*****************************************************************************
  5.  
  6.  Progress window
  7.  
  8.  *****************************************************************************/
  9.  
  10. #ifndef UTILITY_TAGITEM_H
  11. #include <utility/tagitem.h>
  12. #endif
  13.  
  14. #define PW_Screen    TAG_USER + 0        // Screen to open on
  15. #define PW_Window    TAG_USER + 1        // Owner window
  16. #define PW_Title    TAG_USER + 2        // Window title
  17. #define PW_SigTask    TAG_USER + 3        // Task to signal
  18. #define PW_SigBit    TAG_USER + 4        // Signal bit
  19. #define PW_Flags    TAG_USER + 5        // Flags
  20. #define PW_FileName    TAG_USER + 6        // File name
  21. #define PW_FileSize    TAG_USER + 7        // File size
  22. #define PW_FileDone    TAG_USER + 8        // File done
  23. #define PW_FileCount    TAG_USER + 9        // Number of files
  24. #define PW_FileNum    TAG_USER + 10        // Current number
  25. #define PW_Info        TAG_USER + 11        // Information line
  26.  
  27. #define PWF_FILENAME        (1<<0)        // Filename display
  28. #define PWF_FILESIZE        (1<<1)        // Filesize display
  29. #define PWF_INFO        (1<<2)        // Information line
  30. #define PWF_GRAPH        (1<<3)        // Bar graph display
  31. #define PWF_NOABORT        (1<<4)        // No abort gadget
  32. #define PWF_INVISIBLE        (1<<5)        // Open invisibly
  33. #define PWF_ABORT        (1<<6)        // Want abort gadget
  34. #define PWF_SWAP        (1<<7)        // Swap bar and size displays
  35.  
  36.  
  37. BOOL CheckProgressAbort(APTR);
  38. void CloseProgressWindow(APTR);
  39. void GetProgressWindow(APTR,struct TagItem *);
  40. void HideProgressWindow(APTR);
  41. APTR OpenProgressWindow(struct TagItem *);
  42. void SetProgressWindow(APTR,struct TagItem *);
  43. void ShowProgressWindow(APTR,struct Screen *,struct Window *);
  44.  
  45. APTR __stdargs OpenProgressWindowTags(Tag,...);
  46. void __stdargs SetProgressWindowTags(APTR,Tag,...);
  47. void __stdargs GetProgressWindowTags(APTR,Tag,...);
  48.  
  49. #endif
  50.